package com.alageek.crowd.service.api;

import com.alageek.crowd.entity.Role;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface RoleService {

    public List<Role> getAssignedRole(Integer adminId);

    public List<Role> getUnAssignedRole(Integer adminId);

    public void removeRoleArray(List<Integer> roleIdArray);

    public void updateRole(Role role);

    public void saveRole(Role role);

    public PageInfo<Role> getPageInfo(String keyword, Integer pageNum, Integer pageSize);

}
